#!/bin/sh
rm -f gnu_results
ab -n 500 -c 10 -g gnu_results $1
#gnuplot config

rm -f $2
gnuplot  <<EOF

set terminal png
set output "$2"
set title "Benchmarking results for $1"
plot "gnu_results" using 9 smooth sbezier with lines title "Benchmarking $1"

EOF
